package org.linlinjava.litemall.db.domain;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 用户佣金
 */
@Data
public class LitemallCommissionLog implements Serializable {
    private Integer id;
    //用户ID
    private Integer userId;
    //订单买家ID
    private Integer fromUid;
    //佣金单ID
    private Integer orderCommissionId;
    //提现单ID
    private Integer applyId;
    //消费\收入佣金金额
    private BigDecimal commission;
    //创建日期
    private LocalDateTime createdTime;
    //更新日期
    private LocalDateTime updatedTime;
    //消费类型 0收入 1支出
    private String type;
}
